/**
 * 
 */
package com.curso.sesion7;

import com.curso.sesion7.package1.CousinInOtherPackage;

/**
 * @author MATEUS
 *
 */
public class TestAccess {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		System.out.println("------------");
		Padre p = new Padre();
		p.m1();
		p.m2();
		p.m4();
		System.out.println("------------");
		Hijo h = new Hijo();
		h.m1();
		h.m2();
		h.m4();
		System.out.println("------------");
		HijoDefaultAccess hda = new HijoDefaultAccess();
		hda.m1();
		hda.m2();
		hda.m4();
		System.out.println("------------");
		Cousin c = new Cousin();
		c.m0();
		System.out.println("------------");
		CousinInOtherPackage cOP = new CousinInOtherPackage();
		cOP.m0();
		System.out.println("------------");
	}

}
